package commonAdmin.sql.support;

import java.util.Collections;
import java.util.List;

import org.apache.commons.lang3.StringUtils;

/**
	 * 封装了实际的sql语句与参数值,方便调用者创建PreparedStatment
	 *
	 */
public class SqlStatmentWithArgs {
	private String sql = StringUtils.EMPTY;
	private List<?> args = Collections.EMPTY_LIST;

	public SqlStatmentWithArgs(String sql, List<?> args) {
		this.sql = sql;
		this.args = args;
	}

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public List<?> getArgs() {
		return args;
	}

	public void setArgs(List<?> args) {
		this.args = args;
	}

}